<?php

namespace App\Constants;

class CourseOrderStatusConstant
{
    const WAIT_PAY = 0;

    const IS_PAY = 1;

    const REFUNDING = 2;

    const IS_REFUND = 3;

    const CANCEL = 4;

    const MAP = [
        self::WAIT_PAY  => '待支付',
        self::IS_PAY    => '已支付',
        self::REFUNDING => '退款中',
        self::IS_REFUND => '已退款',
        self::CANCEL    => '已取消',
    ];
}
